package top.buyibuyi.course.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.io.Serializable;

@Data
@JsonIgnoreProperties(value = {"handler"})
public class Classroom implements Serializable {
    private int id;
    private String title;
    private int fnum;
    private int capacity;
    private Classroom classroom;

    @Override
    public String toString() {
        return "Classroom{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", fnum=" + fnum +
                ", capacity=" + capacity +
                ", classroom=" + classroom +
                '}';
    }
}
